package org.csu.gp_store.common;

import lombok.Getter;

@Getter
public enum ResponseCode {
    SUCCESS(0, "请求成功"),
    ERROR(1, "请求失败"),
    NEED_LOGIN(2, "需要登陆"),
    ILLEGAL_ARGUMENT(3, "参数错误");


    private final int code;

    private final String description;

    ResponseCode(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
